home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / ums116bt.lha / UMS / FLUSHLibrary / C-Support / Flush.H < prev    next >
C/C++ Source or Header  |  1992-04-14  |  1KB  |  46 lines

  1. #ifndef  FLUSH_H
  2. #define  FLUSH_H
  3.  
  4. /*
  5.  * --------------------------------------------------------------
  6.  * Project name: FLUSHLibrary    Launched: 01/04/92      by Ms...
  7.  * --------------------------------------------------------------
  8.  * This file "flush.library C include file"
  9.  *       created: 01/04/92               last modified: 14/04/92
  10.  *       version: 1.1                    PV: 003
  11.  * These are general data, needed by client programs written in
  12.  * the C programming language.
  13.  * These are library function definitions.
  14.  *
  15.  * FLUSH:C-Support/Flush.H                flush@alphanet.imp.com
  16.  * This file (C) Marc Schaefer 1992.
  17.  * Created by Michel Schinz, and fine tuned to the Commodore
  18.  * specifications by Yves Perrenoud.
  19.  */
  20.  
  21. #ifndef  EXEC_TYPES_H
  22. #include <exec/types.h>
  23. #endif
  24.  
  25. /* Defines */
  26.  
  27. #define MODE_SIGNALME   1
  28. #define MODE_HANDLER    2
  29. #define MODE_MSG        3
  30.  
  31. /* Pragmas. */
  32.  
  33. #ifdef LATTICE
  34. #pragma libcall FlushBase FlushDo 1E 0
  35. #pragma libcall FlushBase FlushEnableAnnounce 24 218004
  36. #pragma libcall FlushBase FlushDisableAnnounce 2A 001
  37. #endif LATTICE
  38.  
  39. /* Protos. */
  40.  
  41. void FlushDo(void);
  42. ULONG FlushEnableAnnounce(ULONG mode, APTR handler, ULONG data, LONG pri);
  43. void FlushDisableAnnounce(ULONG flushid);
  44.  
  45. #endif   /* FLUSH_H */
  46.